import request from '@/utils/myrequest'
// 保存
function doSave(kvs) {
  return request({
    url: '/mtms/ToolingForm/SaveForm',
    method: 'POST',
    kvs
  })
}
function doGenerate(kvs) {
  return request({
    url: '/config/GenerateForm/GetFormItems',
    method: 'POST',
    kvs
  })
}
// 验证是否成功
export function getFormResult(kvs) {
  return request({
    url: '/config/GenerateForm/JudgeFormItemResult',
    method: 'get',
    kvs
  })
}
export default{
  doSave, doGenerate, getFormResult
}
